package cms.simmytech.response;

import cms.simmytech.model.*;

import java.util.ArrayList;
import java.util.List;

/**
 * 标题、简要说明. <br>
 * 类详细说明.
 * <p>
 * Copyright: Fancy,Inc Copyright (c) 2018年7月10日 下午3:14:37
 * <p>
 * Team:Fancy Harbin
 * <p>
 *
 * @author
 * @version 1.0.0
 */
public class UserDetailResponse extends BaseResponse {

    public UserDetailResponse(int stat) {
        super(stat);
    }

    private Data data = new Data();

    /**
     * 获取 data
     *
     * @return data
     */
    public Data getData() {
        return data;
    }

    /**
     * 设置 data
     *
     * @param data data
     */
    public void setData(Data data) {
        this.data = data;
    }

    public class Data {
        public TbUser getUser() {
            return user;
        }

        public void setUser(TbUser user) {
            this.user = user;
        }

        public List<TbUserMajor> getUserMajorList() {
            return userMajorList;
        }

        public void setUserMajorList(List<TbUserMajor> userMajorList) {
            this.userMajorList = userMajorList;
        }

        public List<TbUserWork> getUserWorkList() {
            return userWorkList;
        }

        public void setUserWorkList(List<TbUserWork> userWorkList) {
            this.userWorkList = userWorkList;
        }

        private TbUser user;
        List<TbUserMajor>  userMajorList=new ArrayList<>();
        List<TbUserWork>  userWorkList=new ArrayList<>();



    }

}
